Optimal. Leaf size=42 \[ x \, _2F_1\left (\frac {1}{4},-p;\frac {5}{4};-b x^4\right )-\frac {1}{3} x^3 \, _2F_1\left (\frac {3}{4},-p;\frac {7}{4};-b x^4\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {1218, 251, 371}
\begin {gather*} x \, _2F_1\left (\frac {1}{4},-p;\frac {5}{4};-b x^4\right )-\frac {1}{3} x^3 \, _2F_1\left (\frac {3}{4},-p;\frac {7}{4};-b x^4\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 251
Rule 371
Rule 1218
Rubi steps
\begin {align*} \int \left (1-x^2\right ) \left (1+b x^4\right )^p \, dx &=\int \left (\left (1+b x^4\right )^p-x^2 \left (1+b x^4\right )^p\right ) \, dx\\ &=\int \left (1+b x^4\right )^p \, dx-\int x^2 \left (1+b x^4\right )^p \, dx\\ &=x \, _2F_1\left (\frac {1}{4},-p;\frac {5}{4};-b x^4\right )-\frac {1}{3} x^3 \, _2F_1\left (\frac {3}{4},-p;\frac {7}{4};-b x^4\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.55, size = 42, normalized size = 1.00 \begin {gather*} x \, _2F_1\left (\frac {1}{4},-p;\frac {5}{4};-b x^4\right )-\frac {1}{3} x^3 \, _2F_1\left (\frac {3}{4},-p;\frac {7}{4};-b x^4\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 37, normalized size = 0.88
method | result | size |
meijerg | \(x \hypergeom \left (\left [\frac {1}{4}, -p \right ], \left [\frac {5}{4}\right ], -b \,x^{4}\right )-\frac {x^{3} \hypergeom \left (\left [\frac {3}{4}, -p \right ], \left [\frac {7}{4}\right ], -b \,x^{4}\right )}{3}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 15.34, size = 61, normalized size = 1.45 \begin {gather*} - \frac {x^{3} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {3}{4}, - p \\ \frac {7}{4} \end {matrix}\middle | {b x^{4} e^{i \pi }} \right )}}{4 \Gamma \left (\frac {7}{4}\right )} + \frac {x \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{4}, - p \\ \frac {5}{4} \end {matrix}\middle | {b x^{4} e^{i \pi }} \right )}}{4 \Gamma \left (\frac {5}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} -\int \left (x^2-1\right )\,{\left (b\,x^4+1\right )}^p \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________